<?php
/**
 * service 主类
 * @author kaihui_wang
 *
 */
class Admin_Service extends My_Service{
    private static $_instance = null;
    
    
    public static function getInstance(){
        if(!self::$_instance){
            self::$_instance = new self();
        }
        return self::$_instance;
    }
    
    /**
     * 
     * @return Admin_Service_Common
     */
    function getCommon(){
    	return new Admin_Service_Common();
    }
    
    /**
     * app相关
     * @return Admin_Service_App
     */
    function getApp(){
    	return new Admin_Service_App();
    }
    
    /**
     * sys相关
     * @return Admin_Service_Sys
     */
    function getSys(){
    	return new Admin_Service_Sys();
    }
}
